ib chemistyr ionic structure